package com.gxar.quick.ar.server.db.mapper;

import com.gxar.quick.ar.server.db.model.MaterialsEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author nice
 * @version 1.0
 * @created 2023/11/21.
 */
@Mapper
public interface MaterialMapper {

    /**
     * 分页查询套餐
     *
     * @return 套餐列表
     */
    List<MaterialsEntity> queryPage(Integer type);


    MaterialsEntity queryByName(String name);

    /**
     * 查询所有素材
     *
     * @return linkURL
     */
    List<MaterialsEntity> queryAllLinkUrl();
}
